package edu.yuhf.service.iface;

import com.github.pagehelper.PageInfo;
import edu.yuhf.domain.Product;

import java.util.List;
import java.util.Map;

public interface ProductService {

    public List<Map<String,Object>> getProductsAll();
    public PageInfo<Map<String,Object>> getProductsAllByPage(int pageNum,int size);
    public Map<String,Object> getProductsByType(int typeId);
    public List<Product> getProductsByIds(Integer[] ids);
    public Map<String,Object> getProductById(int id);

}
